package com.itqf.service.impl;

import com.itqf.mapper.DtsUserMapper;
import com.itqf.service.DtsUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * projectName: store_parent
 *
 * @author: 赵伟风
 * time: 2021/6/9 11:13
 * description:
 */

@Service
public class DtsUserServiceImpl implements DtsUserService {

    @Autowired
    private DtsUserMapper userMapper;

    /**
     * 查询前台用户数量
     *
     * @return
     */
    @Override
    public int findUserNumber() {

        int number = userMapper.queryNumber();

        return number;
    }
}
